-
Home
-
Perfect Brands for WooCommerce
-
3.3.8
-
Code
-
Classes
- Coupon
Total Complexity |
32 |
Dependencies |
0 |
Dependents |
1 |
Total lines |
192 |
Lines of code |
136 |
Logical lines of code |
86 |
Comment lines |
7 |
Methods |
7 |
Properties |
0 |
Methods 7
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
coupon_restriction() |
S |
47 |
6 |
38 |
is_valid_coupon_for_brand() |
S |
53 |
7 |
21 |
is_valid_coupon_for_exclude_brand() |
S |
53 |
7 |
21 |
is_valid_for_brand() |
S |
56 |
4 |
18 |
is_valid_for_exclude_brand() |
S |
56 |
4 |
18 |
coupon_save() |
S |
62 |
3 |
12 |
__construct() |
S |
65 |
1 |
8 |